﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
using System.Xml;
using System.Xml.Serialization;
using MyCollections.Forms;

namespace MyCollections
{
    public partial class main : Form
    {
        public main()
        {
            InitializeComponent();
            
            /* TESTES */

            /*string teste = MyCollections.Tools.ImdbTools.getImdbId("21");
            MyCollections.Tools.ImdbTools.getImdbInfo("Cloverfield");*/
       
            /* TESTES */
        
        }

        private void exitToolStripMenuItem_Click(object sender, EventArgs e)
        {
            this.Dispose();
        }

        private void bt_all_db_Click(object sender, EventArgs e)
        {
            selectTypeToDisplay novo = new selectTypeToDisplay();
            novo.MdiParent = this;
            novo.Show();
        }

        private void bt_movies_db_Click(object sender, EventArgs e)
        {
            /*dbviewer novo = new dbviewer("movies");*/
            DataGridViewColumnDemo novo = new DataGridViewColumnDemo();
            novo.MdiParent = this;
            novo.Show();
        }

        private void toolStripButton2_Click(object sender, EventArgs e)
        {
            addMovie a = new addMovie();
            a.Show();
        }

        private void toolStripButton1_Click(object sender, EventArgs e)
        {
            addDynamicData a = new addDynamicData();
            a.Show();
        }
    }
}